<!DOCTYPE html>
<html lang="en-US">
    <head>
        <title>HTTP::Response - HTTP style response message - metacpan.org</title>
        <link rel="preload" as="fetch" href="https://metacpan.org/account/login_status" crossorigin="anonymous" />
        <link href="https://metacpan.org/_assets/b8ccceeed47a0652049703d99326a9cea4933443.css" rel="stylesheet" type="text/css">
        <script src="https://metacpan.org/_assets/6bfedafe2d7caa915b7d84f61b45936818e3242e.js" type="text/javascript" defer></script>
        <link rel="alternate" type="application/rss+xml" title="Recent CPAN Uploads of HTTP-Message - MetaCPAN" href="https://metacpan.org/dist/HTTP-Message/releases.rss" />
        <link rel="canonical" href="./HTTP::Response.html" />
        <meta name="description" content="HTTP style response message" />
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5">
        <link rel="shortcut icon" href="https://metacpan.org/static/icons/favicon.ico">
        <link rel="apple-touch-icon" sizes="152x152" href="https://metacpan.org/static/icons/apple-touch-icon.png">
        <link rel="search" href="https://metacpan.org/static/opensearch.xml" type="application/opensearchdescription+xml" title="MetaCPAN">
        <script>
          (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
          (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
          m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
          })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

          (function(skey, ga_id){
            ga('create', ga_id, {
              siteSpeedSampleRate : 100,
              storage             : 'none',
              clientId            : localStorage.getItem(skey)
            });
            ga(function(tracker) {
              localStorage.setItem(skey, tracker.get('clientId'));
            });
            ga('send', 'pageview');
          })('ga:clientId', 'UA-27829474-1');
        </script>
<meta name="twitter:card"        content="summary" />
<meta name="twitter:url"         content="https://metacpan.org/pod/HTTP::Response" />
<meta name="twitter:title"       content="HTTP::Response" />
<meta name="twitter:description" content="HTTP style response message" />
<meta name="twitter:site"        content="metacpan" />
    </head>
    <body>
        <nav class="navbar navbar-default" role="navigation">
            <div class="header-logo-large hidden-xs">
              <a href="https://metacpan.org/" tabindex="0">
                <svg class="logo" aria-label="MetaCPAN">
                  <use class="logo" href="/static/images/metacpan-logo.svg#logo" />
                </svg>
              </a>
            </div>
            <div class="header-logo-icon visible-xs">
              <a href="https://metacpan.org/">
                <svg class="logo" aria-label="MetaCPAN">
                  <use class="logo" href="/static/images/metacpan-logo.svg#dots" />
                </svg>
              </a>
            </div>
            <ul class="nav navbar-nav menu-items hidden-xs hidden-sm">
              <li><a href="https://metacpan.org/about">About</a></li>
              <li><a href="https://metacpan.org/about/sponsors">Sponsor</a></li>
              <li><a href="https://grep.metacpan.org/">grep::cpan</a></li>
              <li><a href="https://metacpan.org/recent">Recent</a></li>
              <li><a href="https://metacpan.org/about/faq">FAQ</a></li>
              <li><a href="https://metacpan.org/tools">Tools</a></li>
              <li><a href="https://fastapi.metacpan.org/">API</a></li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <button type="button" class="searchbar-btn visible-xs visible-sm">
                    <i class="fa fa-search button-fa-icon"></i>
                </button>
                <form action="https://metacpan.org/search" class="searchbar-form visible-md visible-lg search-form form-horizontal">
                   <input type="hidden" name="size" id="metacpan_search-size" value="20">
                  <div class="form-group">
                      <div class="search-group">
                        <i class="fa fa-search"></i>
                        <input type="text" name="q" placeholder="Search the CPAN" size="41" autocorrect="off" autocapitalize="off" spellcheck="false" id="metacpan_search-input" class="form-control" value="">
                      </div>
                  </div>
                </form>
                    <li class="icon-slidepanel visible-xs visible-sm">
                      <button data-toggle="slidepanel" data-target=".slidepanel">
                        <span class="button-fa-icon">
                          <i class="fa fa-bars slidepanel-open"></i>
                          <i class="fa fa-times slidepanel-close"></i>
                        </span>
                      </button>
                    </li>
                <form action="https://metacpan.org/account/logout" method="POST" id="metacpan-logout"></form>
                <li class="dropdown logged_in" style="display: none;">
                    <button type="button" class="dropdown-toggle" data-toggle="dropdown">
                      <i class="fa fa-user button-fa-icon logged-in-icon" aria-hidden="true"></i>
                      <i class="fas fa-chevron-down"></i>
                    </button>
                    <ul class="dropdown-menu">
                        <li><a href="https://metacpan.org/account/identities">Identities</a></li>
                        <li><a href="https://metacpan.org/account/profile">Profile</a></li>
                        <li><a href="https://metacpan.org/account/favorite/list">Favorites</a></li>
                        <li>
                            <a href="./HTTP::Response.html#" type="button" onclick="$('#metacpan-logout').submit(); return false">
                              Logout
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="dropdown logged_out" style="display: none;">
                    <button type="button" class="dropdown-toggle" data-toggle="dropdown">
                      <i class="fa fa-user button-fa-icon" aria-hidden="true"></i>
                      <i class="fas fa-chevron-down"></i>
                    </button>
                    <ul class="dropdown-menu">
                        <li>
                            <a href="https://metacpan.org/login/github">
                                <i class="fab fa-github fa-fw"></i>
                                GitHub
                            </a>
                        </li>
                        <li>
                            <a href="https://metacpan.org/login/twitter">
                                <i class="fab fa-twitter fa-fw"></i>
                                Twitter
                            </a>
                        </li>
                        <li>
                            <a href="https://metacpan.org/login/google">
                                <i class="fab fa-google fa-fw"></i>
                                Google
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="dropdown logged_placeholder">
                    <button>
                      <i class="fa fa-user button-fa-icon" aria-hidden="true"></i>
                    </button>
                </li>
            </ul>
        </nav>
        <div class="page-content ">
          <!--
          <div class="top-notify-banner">
            <i class="fas fa-info-circle"></i>
          </div>
          -->
          <nav class="sidebar">
            <div class="slidepanel">
              <ul class="nav-list ">
    <li class="nav-header no-margin-top">
      <div class="ttip" data-toggle="tooltip" data-placement="bottom" title="The date that this version of HTTP-Message was released.">
      <span class="relatize">27 Sep 2023 14:31:38 UTC</span>
    </li>
  <li>
    Distribution: <a href="https://metacpan.org/dist/HTTP-Message">HTTP-Message</a>
  </li>
  <li>
    Module version: 6.45
  </li>
  <li>
    <a data-keyboard-shortcut="g s" href="https://metacpan.org/dist/HTTP-Message/source/lib/HTTP/Response.pm">Source</a>
    (<a href="https://metacpan.org/dist/HTTP-Message/source/lib/HTTP/Response.pm?raw=1">raw</a>)
  </li>
  <li>
    <a data-keyboard-shortcut="g b" href="https://metacpan.org/dist/HTTP-Message/source/lib/HTTP">Browse</a>
    (<a href="https://metacpan.org/dist/HTTP-Message/source/lib/HTTP?raw=1">raw</a>)
  </li>
    <li>
      <a data-keyboard-shortcut="g c" href="https://metacpan.org/dist/HTTP-Message/changes">Changes</a>
    </li>
    <li>
      <a rel="noopener nofollow" class="nopopup" href="https://github.com/libwww-perl/HTTP-Message">Homepage</a>
    </li>
    <li>
      <a class="nopopup" href="https://metacpan.org/dist/HTTP-Message/contribute">How to Contribute</a>
    </li>
    <li>
        <a rel="noopener nofollow" data-keyboard-shortcut="g r" href="https://github.com/libwww-perl/HTTP-Message">Repository</a>
    </li>
    <li>
      <a rel="noopener nofollow" data-keyboard-shortcut="g i" href="https://github.com/libwww-perl/HTTP-Message/issues">Issues</a>
      (56)
    </li>
    <li>
      <a rel="noopener nofollow" href="http://matrix.cpantesters.org/?dist=HTTP-Message+6.45" title="Matrix">Testers</a>
        <span title="(pass / fail / na)">(<a rel="noopener nofollow" href="https://www.cpantesters.org/distro/H/HTTP-Message.html?oncpan=1&amp;distmat=1&amp;version=6.45&amp;grade=2" style="color: #090">1962</a> / <a rel="noopener nofollow" href="https://www.cpantesters.org/distro/H/HTTP-Message.html?oncpan=1&amp;distmat=1&amp;version=6.45&amp;grade=3" style="color: #900">3</a> / <a rel="noopener nofollow" href="https://www.cpantesters.org/distro/H/HTTP-Message.html?oncpan=1&amp;distmat=1&amp;version=6.45&amp;grade=4">0</a>)</span>
    </li>
    <li>
      <a rel="noopener nofollow" href="http://cpants.cpanauthors.org/release/OALDERS/HTTP-Message-6.45">Kwalitee</a>
    </li>
    <li>
      <div class="ttip" data-toggle="tooltip" data-placement="bottom" title="The # people with an indexing permission on HTTP-Message who have released something to CPAN in the last 2 years (i.e. the # people likely able to release critical fixes in a timely manner)">
      Bus factor: 7
      </div>
    </li>
    <li>
      <a rel="noopener nofollow" href="http://cpancover.com/latest/HTTP-Message-6.45/index.html">95.54% Coverage </a>
    </li>
    <li>
      License: perl_5
    </li>
    <li>
      Perl: v5.8.1
    </li>
    <li class="chat-banner">
      <div><a rel="noopener nofollow" target="_blank" href="https://kiwiirc.com/nextclient/#irc://irc.perl.org/#lwp?nick=mc-guest-?">Chat with us!</a></div>
    </li>
    <li class="nav-header">Activity</li>
    <li>
<div class="activity-graph">
    <img src="https://metacpan.org/dist/HTTP-Message/activity.svg?res=month" />
    <div class="comment">24 month</div>
</div>
    </li>
    <li class="nav-header">Tools</li>
    <li>
      <a itemprop="downloadUrl" href="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/HTTP-Message-6.45.tar.gz">
      Download (<span itemprop="fileSize">93.31KB</span>)</a>
    </li>
    <li>
      <a href="https://explorer.metacpan.org/?url=%2Fmodule%2FOALDERS%2FHTTP-Message-6.45%2Flib%2FHTTP%2FResponse.pm">
        MetaCPAN Explorer
      </a>
    </li>
    <li>
      <a href="https://metacpan.org/dist/HTTP-Message/permissions">
        Permissions
      </a>
    </li>
    <li>
      <a href="https://metacpan.org/dist/HTTP-Message/releases.rss">
        Subscribe to distribution
      </a>
    </li>
    <li>
      <button class="btn btn-link" data-toggle="modal" data-target="#metacpan_install-instructions-dialog">
        Install Instructions
      </button>
    </li>
    <li>
      <form action="https://metacpan.org/search">
        <input type="hidden" name="q" value="dist:HTTP-Message">
        <input type="search" name="q" placeholder="Search distribution" class="form-control tool-bar-form">
        <input type="submit" style="display: none">
      </form>
    </li>
    <li>
      <form action="https://grep.metacpan.org/search">
        <input type="hidden" name="qd" value="HTTP-Message">
        <input type="hidden" name="source" value="metacpan">
        <input type="search" name="q" placeholder="grep distribution" class="form-control tool-bar-form">
        <input type="submit" style="display: none">
     </form>
    </li>
    <li class="version-jump">
<select onchange="document.location.href=&#39;/release/&#39;+this.value+&#39;/view/lib/HTTP/Response.pm&#39;" class="form-control tool-bar-form">
  <option disabled selected>Jump to version</option>
<option
  disabled
  value="OALDERS/HTTP-Message-6.45"
>6.45
  (OALDERS on 2023-09-27)</option>
<option
  
  value="OALDERS/HTTP-Message-6.44"
>6.44
  (OALDERS on 2022-10-26)</option>
<option
  
  value="SIMBABQUE/HTTP-Message-6.43"
>6.43
  (SIMBABQUE on 2022-10-22)</option>
<option
  
  value="OALDERS/HTTP-Message-6.42"
>6.42
  (OALDERS on 2022-10-18)</option>
<option
  
  value="OALDERS/HTTP-Message-6.41"
>6.41
  (OALDERS on 2022-10-12)</option>
<option
  
  value="OALDERS/HTTP-Message-6.40"
>6.40
  (OALDERS on 2022-10-12)</option>
<option
  
  value="SIMBABQUE/HTTP-Message-6.39"
>6.39
  (SIMBABQUE on 2022-10-08)</option>
<option
  
  value="OALDERS/HTTP-Message-6.38"
>6.38
  (OALDERS on 2022-10-06)</option>
<option
  
  value="OALDERS/HTTP-Message-6.37"
>6.37
  (OALDERS on 2022-06-14)</option>
<option
  
  value="OALDERS/HTTP-Message-6.36"
>6.36
  (OALDERS on 2022-01-05)</option>
<option
  
  value="OALDERS/HTTP-Message-6.35"
>6.35
  (OALDERS on 2021-11-11)</option>
<option
  
  value="OALDERS/HTTP-Message-6.34"
>6.34
  (OALDERS on 2021-11-08)</option>
<option
  
  value="OALDERS/HTTP-Message-6.33"
>6.33
  (OALDERS on 2021-06-28)</option>
<option
  
  value="OALDERS/HTTP-Message-6.32"
>6.32
  (OALDERS on 2021-05-18)</option>
<option
  
  value="OALDERS/HTTP-Message-6.31"
>6.31
  (OALDERS on 2021-05-11)</option>
<option
  
  value="OALDERS/HTTP-Message-6.30"
>6.30
  (OALDERS on 2021-05-10)</option>
<option
  
  value="OALDERS/HTTP-Message-6.29"
>6.29
  (OALDERS on 2021-03-06)</option>
<option
  
  value="OALDERS/HTTP-Message-6.28"
>6.28
  (OALDERS on 2021-02-19)</option>
<option
  
  value="OALDERS/HTTP-Message-6.27"
>6.27
  (OALDERS on 2021-01-05)</option>
<option
  
  value="OALDERS/HTTP-Message-6.26"
>6.26
  (OALDERS on 2020-09-10)</option>
<option
  
  value="ETHER/HTTP-Message-6.25"
>6.25
  (ETHER on 2020-06-28)</option>
<option
  
  value="OALDERS/HTTP-Message-6.24"
>6.24
  (OALDERS on 2020-05-11)</option>
<option
  
  value="OALDERS/HTTP-Message-6.23-TRIAL"
>6.23-TRIAL DEV
  (OALDERS on 2020-05-07)</option>
<option
  
  value="OALDERS/HTTP-Message-6.22"
>6.22
  (OALDERS on 2020-02-24)</option>
<option
  
  value="OALDERS/HTTP-Message-6.21-TRIAL"
>6.21-TRIAL DEV
  (OALDERS on 2020-02-19)</option>
<option
  
  value="OALDERS/HTTP-Message-6.20-TRIAL"
>6.20-TRIAL DEV
  (OALDERS on 2019-02-05)</option>
<option
  
  value="OALDERS/HTTP-Message-6.19-TRIAL"
>6.19-TRIAL DEV
  (OALDERS on 2019-01-16)</option>
<option
  
  value="OALDERS/HTTP-Message-6.18"
>6.18
  (OALDERS on 2018-06-05)</option>
<option
  
  value="OALDERS/HTTP-Message-6.16"
>6.16
  (OALDERS on 2018-03-28)</option>
<option
  
  value="OALDERS/HTTP-Message-6.15"
>6.15
  (OALDERS on 2018-03-13)</option>
<option
  
  value="OALDERS/HTTP-Message-6.14"
>6.14
  (OALDERS on 2017-12-20)</option>
<option
  
  value="OALDERS/HTTP-Message-6.13"
>6.13
  (OALDERS on 2017-06-20)</option>
<option
  
  value="OALDERS/HTTP-Message-6.12-TRIAL"
>6.12-TRIAL DEV
  (OALDERS on 2017-06-15)</option>
<option
  
  value="ETHER/HTTP-Message-6.11"
>6.11
  (ETHER on 2015-09-09)</option>
<option
  
  value="GAAS/HTTP-Message-6.06"
>6.06
  (GAAS on 2012-10-20)</option>
<optgroup label="BackPAN">'
<option
  
  value="OALDERS/HTTP-Message-6.17"
>6.17
  (OALDERS on 2018-06-05)</option>
<option
  
  value="ETHER/HTTP-Message-6.10"
>6.10
  (ETHER on 2015-07-19)</option>
<option
  
  value="ETHER/HTTP-Message-6.09"
>6.09
  (ETHER on 2015-07-19)</option>
<option
  
  value="ETHER/HTTP-Message-6.08"
>6.08
  (ETHER on 2015-07-10)</option>
<option
  
  value="ETHER/HTTP-Message-6.07"
>6.07
  (ETHER on 2015-07-09)</option>
<option
  
  value="GAAS/HTTP-Message-6.05"
>6.05
  (GAAS on 2012-10-20)</option>
<option
  
  value="GAAS/HTTP-Message-6.04"
>6.04
  (GAAS on 2012-09-30)</option>
<option
  
  value="GAAS/HTTP-Message-6.03"
>6.03
  (GAAS on 2012-02-16)</option>
<option
  
  value="GAAS/HTTP-Message-6.02"
>6.02
  (GAAS on 2011-03-20)</option>
<option
  
  value="GAAS/HTTP-Message-6.01"
>6.01
  (GAAS on 2011-03-07)</option>
<option
  
  value="GAAS/HTTP-Message-6.00"
>6.00
  (GAAS on 2011-02-27)</option>
</optgroup>
</select>
    </li>
    <li class="version-diff">
<select onchange="document.location.href='/release/OALDERS/HTTP-Message-6.45/diff/' + encodeURIComponent(this.value) + '/lib/HTTP/Response.pm'
" class="form-control tool-bar-form">
  <option disabled selected>Diff with version</option>
<option
  disabled
  value="OALDERS/HTTP-Message-6.45"
>6.45
  (OALDERS on 2023-09-27)</option>
<option
  
  value="OALDERS/HTTP-Message-6.44"
>6.44
  (OALDERS on 2022-10-26)</option>
<option
  
  value="SIMBABQUE/HTTP-Message-6.43"
>6.43
  (SIMBABQUE on 2022-10-22)</option>
<option
  
  value="OALDERS/HTTP-Message-6.42"
>6.42
  (OALDERS on 2022-10-18)</option>
<option
  
  value="OALDERS/HTTP-Message-6.41"
>6.41
  (OALDERS on 2022-10-12)</option>
<option
  
  value="OALDERS/HTTP-Message-6.40"
>6.40
  (OALDERS on 2022-10-12)</option>
<option
  
  value="SIMBABQUE/HTTP-Message-6.39"
>6.39
  (SIMBABQUE on 2022-10-08)</option>
<option
  
  value="OALDERS/HTTP-Message-6.38"
>6.38
  (OALDERS on 2022-10-06)</option>
<option
  
  value="OALDERS/HTTP-Message-6.37"
>6.37
  (OALDERS on 2022-06-14)</option>
<option
  
  value="OALDERS/HTTP-Message-6.36"
>6.36
  (OALDERS on 2022-01-05)</option>
<option
  
  value="OALDERS/HTTP-Message-6.35"
>6.35
  (OALDERS on 2021-11-11)</option>
<option
  
  value="OALDERS/HTTP-Message-6.34"
>6.34
  (OALDERS on 2021-11-08)</option>
<option
  
  value="OALDERS/HTTP-Message-6.33"
>6.33
  (OALDERS on 2021-06-28)</option>
<option
  
  value="OALDERS/HTTP-Message-6.32"
>6.32
  (OALDERS on 2021-05-18)</option>
<option
  
  value="OALDERS/HTTP-Message-6.31"
>6.31
  (OALDERS on 2021-05-11)</option>
<option
  
  value="OALDERS/HTTP-Message-6.30"
>6.30
  (OALDERS on 2021-05-10)</option>
<option
  
  value="OALDERS/HTTP-Message-6.29"
>6.29
  (OALDERS on 2021-03-06)</option>
<option
  
  value="OALDERS/HTTP-Message-6.28"
>6.28
  (OALDERS on 2021-02-19)</option>
<option
  
  value="OALDERS/HTTP-Message-6.27"
>6.27
  (OALDERS on 2021-01-05)</option>
<option
  
  value="OALDERS/HTTP-Message-6.26"
>6.26
  (OALDERS on 2020-09-10)</option>
<option
  
  value="ETHER/HTTP-Message-6.25"
>6.25
  (ETHER on 2020-06-28)</option>
<option
  
  value="OALDERS/HTTP-Message-6.24"
>6.24
  (OALDERS on 2020-05-11)</option>
<option
  
  value="OALDERS/HTTP-Message-6.23-TRIAL"
>6.23-TRIAL DEV
  (OALDERS on 2020-05-07)</option>
<option
  
  value="OALDERS/HTTP-Message-6.22"
>6.22
  (OALDERS on 2020-02-24)</option>
<option
  
  value="OALDERS/HTTP-Message-6.21-TRIAL"
>6.21-TRIAL DEV
  (OALDERS on 2020-02-19)</option>
<option
  
  value="OALDERS/HTTP-Message-6.20-TRIAL"
>6.20-TRIAL DEV
  (OALDERS on 2019-02-05)</option>
<option
  
  value="OALDERS/HTTP-Message-6.19-TRIAL"
>6.19-TRIAL DEV
  (OALDERS on 2019-01-16)</option>
<option
  
  value="OALDERS/HTTP-Message-6.18"
>6.18
  (OALDERS on 2018-06-05)</option>
<option
  
  value="OALDERS/HTTP-Message-6.16"
>6.16
  (OALDERS on 2018-03-28)</option>
<option
  
  value="OALDERS/HTTP-Message-6.15"
>6.15
  (OALDERS on 2018-03-13)</option>
<option
  
  value="OALDERS/HTTP-Message-6.14"
>6.14
  (OALDERS on 2017-12-20)</option>
<option
  
  value="OALDERS/HTTP-Message-6.13"
>6.13
  (OALDERS on 2017-06-20)</option>
<option
  
  value="OALDERS/HTTP-Message-6.12-TRIAL"
>6.12-TRIAL DEV
  (OALDERS on 2017-06-15)</option>
<option
  
  value="ETHER/HTTP-Message-6.11"
>6.11
  (ETHER on 2015-09-09)</option>
<option
  
  value="GAAS/HTTP-Message-6.06"
>6.06
  (GAAS on 2012-10-20)</option>
<optgroup label="BackPAN">'
<option
  
  value="OALDERS/HTTP-Message-6.17"
>6.17
  (OALDERS on 2018-06-05)</option>
<option
  
  value="ETHER/HTTP-Message-6.10"
>6.10
  (ETHER on 2015-07-19)</option>
<option
  
  value="ETHER/HTTP-Message-6.09"
>6.09
  (ETHER on 2015-07-19)</option>
<option
  
  value="ETHER/HTTP-Message-6.08"
>6.08
  (ETHER on 2015-07-10)</option>
<option
  
  value="ETHER/HTTP-Message-6.07"
>6.07
  (ETHER on 2015-07-09)</option>
<option
  
  value="GAAS/HTTP-Message-6.05"
>6.05
  (GAAS on 2012-10-20)</option>
<option
  
  value="GAAS/HTTP-Message-6.04"
>6.04
  (GAAS on 2012-09-30)</option>
<option
  
  value="GAAS/HTTP-Message-6.03"
>6.03
  (GAAS on 2012-02-16)</option>
<option
  
  value="GAAS/HTTP-Message-6.02"
>6.02
  (GAAS on 2011-03-20)</option>
<option
  
  value="GAAS/HTTP-Message-6.01"
>6.01
  (GAAS on 2011-03-07)</option>
<option
  
  value="GAAS/HTTP-Message-6.00"
>6.00
  (GAAS on 2011-02-27)</option>
</optgroup>
</select>
    </li>

    <li>
<ul class="dependencies">
  <li class="nav-header">Dependencies</li>
  <li><a href="https://metacpan.org/pod/Carp" title="Carp" class="ellipsis">Carp</a></li>
  <li><a href="Clone.html" title="Clone" class="ellipsis">Clone</a></li>
  <li><a href="https://metacpan.org/pod/Compress::Raw::Bzip2" title="Compress::Raw::Bzip2" class="ellipsis">Compress::Raw::Bzip2</a></li>
  <li><a href="https://metacpan.org/pod/Compress::Raw::Zlib" title="Compress::Raw::Zlib" class="ellipsis">Compress::Raw::Zlib</a></li>
  <li><a href="https://metacpan.org/pod/Encode" title="Encode" class="ellipsis">Encode</a></li>
  <li><a href="./Encode::Locale.html" title="Encode::Locale" class="ellipsis">Encode::Locale</a></li>
  <li><a href="https://metacpan.org/pod/Exporter" title="Exporter" class="ellipsis">Exporter</a></li>
  <li><a href="https://metacpan.org/pod/File::Spec" title="File::Spec" class="ellipsis">File::Spec</a></li>
  <li><a href="https://metacpan.org/pod/HTTP::Date" title="HTTP::Date" class="ellipsis">HTTP::Date</a></li>
  <li><a href="https://metacpan.org/pod/IO::Compress::Bzip2" title="IO::Compress::Bzip2" class="ellipsis">IO::Compress::Bzip2</a></li>
  <li><a href="https://metacpan.org/pod/IO::Compress::Deflate" title="IO::Compress::Deflate" class="ellipsis">IO::Compress::Deflate</a></li>
  <li><a href="https://metacpan.org/pod/IO::Compress::Gzip" title="IO::Compress::Gzip" class="ellipsis">IO::Compress::Gzip</a></li>
  <li><a href="https://metacpan.org/pod/IO::HTML" title="IO::HTML" class="ellipsis">IO::HTML</a></li>
  <li><a href="https://metacpan.org/pod/IO::Uncompress::Inflate" title="IO::Uncompress::Inflate" class="ellipsis">IO::Uncompress::Inflate</a></li>
  <li><a href="https://metacpan.org/pod/IO::Uncompress::RawInflate" title="IO::Uncompress::RawInflate" class="ellipsis">IO::Uncompress::RawInflate</a></li>
  <li><a href="https://metacpan.org/pod/LWP::MediaTypes" title="LWP::MediaTypes" class="ellipsis">LWP::MediaTypes</a></li>
  <li><a href="https://metacpan.org/pod/MIME::Base64" title="MIME::Base64" class="ellipsis">MIME::Base64</a></li>
  <li><a href="https://metacpan.org/pod/MIME::QuotedPrint" title="MIME::QuotedPrint" class="ellipsis">MIME::QuotedPrint</a></li>
  <li><a href="URI.html" title="URI" class="ellipsis">URI</a></li>
  <li><a href="https://metacpan.org/pod/parent" title="parent" class="ellipsis">parent</a></li>
  <li><a href="https://metacpan.org/pod/strict" title="strict" class="ellipsis">strict</a></li>
  <li><a href="https://metacpan.org/pod/warnings" title="warnings" class="ellipsis">warnings</a></li>
  <li>
    <hr>
  </li>
  <li>
    <a href="https://metacpan.org/module/HTTP::Response/requires">Reverse dependencies</a>
  </li>
  <li>
    <a href="http://deps.cpantesters.org/?module=HTTP%3A%3AResponse">CPAN Testers List</a>
  </li>
  <li>
    <a href="https://cpandeps.grinnz.com/?dist=HTTP-Message">Dependency graph</a>
  </li>
</ul>
    </li>
    <li class="nav-header">Permalinks</li>
    <li>
      <a href="https://metacpan.org/release/OALDERS/HTTP-Message-6.45/view/lib/HTTP/Response.pm">This version</a>
    </li>
    <li>
      <a href="./HTTP::Response.html">Latest version</a>
    </li>
    <li>
<div class="plussers">
<div class="nav-header">++ed by:</div>
<div>
<a class="display-all" href="https://metacpan.org/author/JFRIED"><img src="https://www.gravatar.com/avatar/9b4502d7e2c760dcf5d4416e03e5d0c7?d=identicon&amp;s=20" title="JFRIED" alt="JFRIED"></a>
<a class="display-all" href="https://metacpan.org/author/JETEVE"><img src="https://www.gravatar.com/avatar/c4e14b12510fe0f58bbec64d47ed5816?d=identicon&amp;s=20" title="JETEVE" alt="JETEVE"></a>
<a class="display-all" href="https://metacpan.org/author/HMBRAND"><img src="https://www.gravatar.com/avatar/a5e0d99fa9567ce0042126931972770a?d=identicon&amp;s=20" title="HMBRAND" alt="HMBRAND"></a>
<a class="display-all" href="https://metacpan.org/author/CHANKEY"><img src="https://www.gravatar.com/avatar/5e3dc77d6818da1eba913fe7f3fed8ce?d=identicon&amp;s=20" title="CHANKEY" alt="CHANKEY"></a>
<a class="display-all" href="https://metacpan.org/author/KRAUTCAT"><img src="https://www.gravatar.com/avatar/efd137d1577aa9df7fc833f6306958d5?d=identicon&amp;s=20" title="KRAUTCAT" alt="KRAUTCAT"></a>
</div>
<!-- Display counts of plussers-->
<div>
    <a href="https://metacpan.org/dist/HTTP-Message/plussers">39 PAUSE users</a>
</div>
<div>
    27 non-PAUSE users
</div>
</div>
    </li>
    <li>
<div id="metacpan_contributors">
  <div>
    <button class="btn-link"
      onclick="$(this).hide(); $('#metacpan_contributors ul').slideDown(); return false;"
    >and 89 contributors</button>
  </div>
  <ul style="display: none">
    <li class="contributor"
      data-contrib-email="gisle@activestate.com gisle@aas.no"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Gisle Aas
    </li>
    <li class="contributor"
      data-cpan-author="ADAMK"
      data-contrib-email="adamk@cpan.org"
    >
      <a href="https://metacpan.org/author/ADAMK" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/884124d0169f41668fb3f948b2ba8b0a?d=identicon&amp;s=20" />
      Adam Kennedy
      </a>
    </li>
    <li class="contributor"
      data-contrib-email="asjo@koldfront.dk"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Adam Sjogren
    </li>
    <li class="contributor"
      data-contrib-email="at@altlinux.ru"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Alexey Tourbin
    </li>
    <li class="contributor"
      data-contrib-email="ka@nadoby.ru"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Alex Kapranoff
    </li>
    <li class="contributor"
      data-contrib-email="amir.aharoni@gmail.com"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      amire80
    </li>
    <li class="contributor"
      data-contrib-email="andreas.koenig@anima.de"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Andreas J. Koenig
    </li>
    <li class="contributor"
      data-contrib-email="andrei.grechkin@booking.com"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Andrei Grechkin
    </li>
    <li class="contributor"
      data-cpan-author="BAYASHI"
      data-contrib-email="bayashi@cpan.org"
    >
      <a href="https://metacpan.org/author/BAYASHI" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/dbc7caff684de7e946eae4aedf2a0f66?d=identicon&amp;s=20" />
      bayashi
      </a>
    </li>
    <li class="contributor"
      data-contrib-email="wfmann@alum.mit.edu"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Bill Mann
    </li>
    <li class="contributor"
      data-contrib-email="GitHub@ResonatorSoft.org"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Brendan Byrd
    </li>
    <li class="contributor"
      data-contrib-email="brong@fastmail.fm"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Bron Gondwana
    </li>
    <li class="contributor"
      data-cpan-author="CAPOEIRAB"
      data-contrib-email="capoeirab@cpan.org"
    >
      <a href="https://metacpan.org/author/CAPOEIRAB" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/912bfa255ef8161a494932af0cad48c5?d=identicon&amp;s=20" />
      Chase Whitener
      </a>
    </li>
    <li class="contributor"
      data-cpan-author="CJM"
      data-contrib-email="cjm@cpan.org"
    >
      <a href="https://metacpan.org/author/CJM" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/75ab2425a09e84ffc650a859523ac56a?d=identicon&amp;s=20" />
      Christopher J. Madsen
      </a>
    </li>
    <li class="contributor"
      data-cpan-author="CHROMATIC"
      data-contrib-email="chromatic@wgz.org"
    >
      <a href="https://metacpan.org/author/CHROMATIC" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/2c517b2a26b5f95a8d2160737ae984fb?d=identicon&amp;s=20" />
      chromatic
      </a>
    </li>
    <li class="contributor"
      data-contrib-email="grinnz@grinnz.com"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Dan Book
    </li>
    <li class="contributor"
      data-contrib-email="Daniel.Hedlund@eprize.com"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Daniel Hedlund
    </li>
    <li class="contributor"
      data-cpan-author="TRIZEN"
      data-contrib-email="trizen@protonmail.com"
    >
      <a href="https://metacpan.org/author/TRIZEN" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/06a9f734aaa9bbdbe0fdc72e8531a28a?d=identicon&amp;s=20" />
      Daniel Trizen
      </a>
    </li>
    <li class="contributor"
      data-cpan-author="DWHEELER"
      data-contrib-email="david@justatheory.com"
    >
      <a href="https://metacpan.org/author/DWHEELER" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/de2fe609ec8ae522883ea1235f1e8792?d=identicon&amp;s=20" />
      David E. Wheeler
      </a>
    </li>
    <li class="contributor"
      data-cpan-author="DAVIDRW"
      data-contrib-email="davidrw@cpan.org"
    >
      <a href="https://metacpan.org/author/DAVIDRW" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/3cc1f33aa6b6e688e30a3cae158455c5?d=identicon&amp;s=20" />
      DAVIDRW
      </a>
    </li>
    <li class="contributor"
      data-contrib-email="dsteinbrunner@MountainBook-Pro.local"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      David Steinbrunner
    </li>
    <li class="contributor"
      data-contrib-email="dorian.taylor.lists@gmail.com"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Dorian Taylor
    </li>
    <li class="contributor"
      data-contrib-email="topaz.github@lt3.us"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Eric Wastl
    </li>
    <li class="contributor"
      data-cpan-author="SPROUT"
      data-contrib-email="sprout@cpan.org"
    >
      <a href="https://metacpan.org/author/SPROUT" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/30bd18493bc25ab8d09ea1050dd28f47?d=identicon&amp;s=20" />
      Father Chrysostomos
      </a>
    </li>
    <li class="contributor"
      data-contrib-email="felipe@felipegasper.com"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Felipe Gasper
    </li>
    <li class="contributor"
      data-cpan-author="FWILES"
      data-contrib-email="FWILES@cpan.org"
    >
      <a href="https://metacpan.org/author/FWILES" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/22752839152ea331a0d5ed79c4627d73?d=identicon&amp;s=20" />
      FWILES
      </a>
    </li>
    <li class="contributor"
      data-contrib-email="galenhuntington@gmail.com"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Galen Huntington
    </li>
    <li class="contributor"
      data-contrib-email="gpeters@deepsky.com"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Gavin Peters
    </li>
    <li class="contributor"
      data-contrib-email="Graeme.Thompson@mobilecohesion.com"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Graeme Thompson
    </li>
    <li class="contributor"
      data-cpan-author="HAARG"
      data-contrib-email="haarg@haarg.org"
    >
      <a href="https://metacpan.org/author/HAARG" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/5037faf9ba40cf736778820fe83fc2ae?d=identicon&amp;s=20" />
      Graham Knop
      </a>
    </li>
    <li class="contributor"
      data-cpan-author="HAKONH"
      data-contrib-email="hakon.hagland@gmail.com"
    >
      <a href="https://metacpan.org/author/HAKONH" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/52ef20852e93826552ce3a6f4810edf1?d=identicon&amp;s=20" />
      Håkon Hægland
      </a>
    </li>
    <li class="contributor"
      data-contrib-email="hfroehlich@co-de-co.de"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Hans-H. Froehlich
    </li>
    <li class="contributor"
      data-cpan-author="IANK"
      data-contrib-email="iank@cpan.org"
    >
      <a href="https://metacpan.org/author/IANK" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/f6807cda19a0995fe1aa32bea9d57d47?d=identicon&amp;s=20" />
      Ian Kilgore
      </a>
    </li>
    <li class="contributor"
      data-contrib-email="waif@chaos2.org"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Jacob J
    </li>
    <li class="contributor"
      data-contrib-email="jakub.skory@atos.net"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Jakub Skory
    </li>
    <li class="contributor"
      data-contrib-email="jwilk@jwilk.net"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Jakub Wilk
    </li>
    <li class="contributor"
      data-cpan-author="RAZ"
      data-contrib-email="jraspass@gmail.com"
    >
      <a href="https://metacpan.org/author/RAZ" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/b9af2a54454e8f38c169be0c236670d6?d=identicon&amp;s=20" />
      James Raspass
      </a>
    </li>
    <li class="contributor"
      data-contrib-email="shaohua@gmail.com"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      jefflee
    </li>
    <li class="contributor"
      data-contrib-email="jerome@broadbean.com"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Jerome Eteve
    </li>
    <li class="contributor"
      data-contrib-email="john9art@yahoo.com"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      john9art
    </li>
    <li class="contributor"
      data-contrib-email="jonasbn@gmail.com"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      jonasbn
    </li>
    <li class="contributor"
      data-cpan-author="SIMBABQUE"
      data-contrib-email="simbabque@cpan.org"
    >
      <a href="https://metacpan.org/author/SIMBABQUE" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/bcf66f65dcd36296129acbd96bfb0cb9?d=identicon&amp;s=20" />
      Julien Fiegehenn
      </a>
    </li>
    <li class="contributor"
      data-cpan-author="ETHER"
      data-contrib-email="ether@cpan.org"
    >
      <a href="https://metacpan.org/author/ETHER" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/bdc5cd06679e732e262f6c1b450a0237?d=identicon&amp;s=20" />
      Karen Etheridge
      </a>
    </li>
    <li class="contributor"
      data-cpan-author="DAXIM"
      data-contrib-email="daxim@cpan.org"
    >
      <a href="https://metacpan.org/author/DAXIM" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/5ce828f20abb195ef5d971205ee36c27?d=identicon&amp;s=20" />
      Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯
      </a>
    </li>
    <li class="contributor"
      data-cpan-author="MARKOV"
      data-contrib-email="mark@overmeer.net"
    >
      <a href="https://metacpan.org/author/MARKOV" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/18f0494979b7feef52388275080aaa34?d=identicon&amp;s=20" />
      Mark Overmeer
      </a>
    </li>
    <li class="contributor"
      data-cpan-author="MARKSTOS"
      data-contrib-email="mark@stosberg.com"
    >
      <a href="https://metacpan.org/author/MARKSTOS" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/795623cd5c352aafe2d8f3d3bdd712ce?d=identicon&amp;s=20" />
      Mark Stosberg
      </a>
    </li>
    <li class="contributor"
      data-cpan-author="FANY"
      data-contrib-email="fany@cpan.org"
    >
      <a href="https://metacpan.org/author/FANY" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/7bc0edaceda1cb0a5b56b844a5b406c2?d=identicon&amp;s=20" />
      Martin H. Sluka
      </a>
    </li>
    <li class="contributor"
      data-cpan-author="MSCHAE"
      data-contrib-email="mschae@cpan.org"
    >
      <a href="https://metacpan.org/author/MSCHAE" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/83dd3b56f70d0c545dd5c8e8f5a2c45c?d=identicon&amp;s=20" />
      Matthew Chae
      </a>
    </li>
    <li class="contributor"
      data-contrib-email="corion@corion.net"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Max Maischein
    </li>
    <li class="contributor"
      data-contrib-email="mschout@gkg.net"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Michael Schout
    </li>
    <li class="contributor"
      data-contrib-email="mspacek@redhat.com"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Michal Josef Špaček
    </li>
    <li class="contributor"
      data-cpan-author="MICKEY"
      data-contrib-email="mickey@cpan.org"
    >
      <a href="https://metacpan.org/author/MICKEY" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/6e4af72e094aaf421693eaabee533b78?d=identicon&amp;s=20" />
      Mickey Nasriachi
      </a>
    </li>
    <li class="contributor"
      data-contrib-email="github@perlmeister.com"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Mike Schilli
    </li>
    <li class="contributor"
      data-contrib-email="murphy@genome.chop.edu"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      murphy
    </li>
    <li class="contributor"
      data-contrib-email="nanto@moon.email.ne.jp"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      nanto_vi, TOYAMA Nao
    </li>
    <li class="contributor"
      data-contrib-email="neilb@neilb.org"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Neil Bowers
    </li>
    <li class="contributor"
      data-contrib-email="olaf@wundersolutions.com"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Olaf Alders
    </li>
    <li class="contributor"
      data-cpan-author="DOLMEN"
      data-contrib-email="dolmen@cpan.org"
    >
      <a href="https://metacpan.org/author/DOLMEN" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/70d9b050bfe39350c234d710fadfcd39?d=identicon&amp;s=20" />
      Olivier Mengué
      </a>
    </li>
    <li class="contributor"
      data-contrib-email="ondrej.hanak@ubs.com"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Ondrej Hanak
    </li>
    <li class="contributor"
      data-contrib-email="git@openstrike.co.uk"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      openstrike
    </li>
    <li class="contributor"
      data-cpan-author="RIBASUSHI"
      data-contrib-email="ribasushi@cpan.org"
    >
      <a href="https://metacpan.org/author/RIBASUSHI" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/6a096fdb29481fa7326735fada56c5cf?d=identicon&amp;s=20" />
      Peter Rabbitson
      </a>
    </li>
    <li class="contributor"
      data-contrib-email="phrstbrn@gmail.com"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      phrstbrn
    </li>
    <li class="contributor"
      data-cpan-author="RRWO"
      data-contrib-email="robrwo+github@gmail.com rrwo@cpan.org"
    >
      <a href="https://metacpan.org/author/RRWO" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/4a5274bc5d690ee3d619f044778771a7?d=identicon&amp;s=20" />
      Robert Rothenberg
      </a>
    </li>
    <li class="contributor"
      data-contrib-email="talby@trap.mtview.ca.us"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Robert Stone
    </li>
    <li class="contributor"
      data-contrib-email="rg@progtech.net"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Rolf Grossmann
    </li>
    <li class="contributor"
      data-contrib-email="ruff@ukrpost.net"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      ruff
    </li>
    <li class="contributor"
      data-contrib-email="sasao@yugen.org"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      sasao
    </li>
    <li class="contributor"
      data-contrib-email="swc@walkingclub.org.uk"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Saturday Walkers Club
    </li>
    <li class="contributor"
      data-cpan-author="SBURKE"
      data-contrib-email="sburke@cpan.org"
    >
      <a href="https://metacpan.org/author/SBURKE" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/4a3107dda4b30865c5d31a73b4b6fa9d?d=identicon&amp;s=20" />
      Sean M. Burke
      </a>
    </li>
    <li class="contributor"
      data-cpan-author="SREZIC"
      data-contrib-email="slaven@rezic.de"
    >
      <a href="https://metacpan.org/author/SREZIC" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/5fa5a4e5ffdf883a1fcb1840c915d485?d=identicon&amp;s=20" />
      Slaven Rezic
      </a>
    </li>
    <li class="contributor"
      data-cpan-author="SDEN"
      data-contrib-email="s.denaxas@gmail.com"
    >
      <a href="https://metacpan.org/author/SDEN" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/0e86dd37cd040734b27617500e4cd927?d=identicon&amp;s=20" />
      Spiros Denaxas
      </a>
    </li>
    <li class="contributor"
      data-contrib-email="SteveHay@planit.com"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Steve Hay
    </li>
    <li class="contributor"
      data-cpan-author="MIYAGAWA"
      data-contrib-email="miyagawa@bulknews.net miyagawa@gmail.com"
    >
      <a href="https://metacpan.org/author/MIYAGAWA" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/2edd59ce5f91bec4b962bfce0a805211?d=identicon&amp;s=20" />
      Tatsuhiko Miyagawa
      </a>
    </li>
    <li class="contributor"
      data-contrib-email="Th.J.v.Hoesel@THEMA-MEDIA.nl"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Theo van Hoesel
    </li>
    <li class="contributor"
      data-contrib-email="tigrankhachikyan@gmail.com"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Tigran
    </li>
    <li class="contributor"
      data-contrib-email="email@froggs.de"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Tobias Leich
    </li>
    <li class="contributor"
      data-contrib-email="todd@amiestreet.com"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Todd Lipcon
    </li>
    <li class="contributor"
      data-contrib-email="tokuhirom@gmail.com"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      tokuhirom
    </li>
    <li class="contributor"
      data-contrib-email="tom@eborcom.com"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Tom Hukins
    </li>
    <li class="contributor"
      data-cpan-author="FANF"
      data-contrib-email="dot@dotat.at"
    >
      <a href="https://metacpan.org/author/FANF" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/ea2e954edc91a607f9601c00551f6965?d=identicon&amp;s=20" />
      Tony Finch
      </a>
    </li>
    <li class="contributor"
      data-cpan-author="ZIGOROU"
      data-contrib-email="zigorou@cpan.org"
    >
      <a href="https://metacpan.org/author/ZIGOROU" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/e0397174da14abbff9c6a718c916012b?d=identicon&amp;s=20" />
      Toru Yamaguchi
      </a>
    </li>
    <li class="contributor"
      data-contrib-email="tzccinct@gmail.com"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      tzccinct
    </li>
    <li class="contributor"
    >
      uid39246 &lt;uid39246&gt;
    </li>
    <li class="contributor"
      data-cpan-author="SCOP"
      data-contrib-email="ville.skytta@iki.fi"
    >
      <a href="https://metacpan.org/author/SCOP" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/4623589f12ed201b060c2075fd9c0920?d=identicon&amp;s=20" />
      Ville Skyttä
      </a>
    </li>
    <li class="contributor"
      data-contrib-email="vit.stradal@gooddata.com"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Vít Strádal
    </li>
    <li class="contributor"
      data-contrib-email="wstorey@maxmind.com"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      William Storey
    </li>
    <li class="contributor"
      data-contrib-email="tech@askold.net"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Yuri Karaban
    </li>
    <li class="contributor"
      data-cpan-author="ZMUGHAL"
      data-contrib-email="zaki.mughal@gmail.com"
    >
      <a href="https://metacpan.org/author/ZMUGHAL" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/82e7c54d334bfdfd32594d34583d32bc?d=identicon&amp;s=20" />
      Zakariyya Mughal
      </a>
    </li>
    <li class="contributor"
      data-cpan-author="ZEFRAM"
      data-contrib-email="zefram@fysh.org"
    >
      <a href="https://metacpan.org/author/ZEFRAM" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/aab343bc3a4424dcb7f913920242f051?d=identicon&amp;s=20" />
      Zefram
      </a>
    </li>
  </ul>
</div>
    </li>
              </ul>
            </div>
          </nav>
          <div class="content-navigation">
<div class="breadcrumbs">
  <span>
    <a data-keyboard-shortcut="g a" rel="author" href="https://metacpan.org/author/OALDERS" class="author-name">Olaf Alders 🐫</a>
  </span>
  <span>&nbsp;/&nbsp;</span>
  <div class="release dist-release status-latest maturity-released">
    <span class="dropdown"><b class="caret"></b></span>
<select onchange="document.location.href=&#39;/release/&#39;+this.value+&#39;/view/lib/HTTP/Response.pm&#39;" class="">
<option
  selected
  value="OALDERS/HTTP-Message-6.45"
>6.45
  (OALDERS on 2023-09-27)</option>
<option
  
  value="OALDERS/HTTP-Message-6.44"
>6.44
  (OALDERS on 2022-10-26)</option>
<option
  
  value="SIMBABQUE/HTTP-Message-6.43"
>6.43
  (SIMBABQUE on 2022-10-22)</option>
<option
  
  value="OALDERS/HTTP-Message-6.42"
>6.42
  (OALDERS on 2022-10-18)</option>
<option
  
  value="OALDERS/HTTP-Message-6.41"
>6.41
  (OALDERS on 2022-10-12)</option>
<option
  
  value="OALDERS/HTTP-Message-6.40"
>6.40
  (OALDERS on 2022-10-12)</option>
<option
  
  value="SIMBABQUE/HTTP-Message-6.39"
>6.39
  (SIMBABQUE on 2022-10-08)</option>
<option
  
  value="OALDERS/HTTP-Message-6.38"
>6.38
  (OALDERS on 2022-10-06)</option>
<option
  
  value="OALDERS/HTTP-Message-6.37"
>6.37
  (OALDERS on 2022-06-14)</option>
<option
  
  value="OALDERS/HTTP-Message-6.36"
>6.36
  (OALDERS on 2022-01-05)</option>
<option
  
  value="OALDERS/HTTP-Message-6.35"
>6.35
  (OALDERS on 2021-11-11)</option>
<option
  
  value="OALDERS/HTTP-Message-6.34"
>6.34
  (OALDERS on 2021-11-08)</option>
<option
  
  value="OALDERS/HTTP-Message-6.33"
>6.33
  (OALDERS on 2021-06-28)</option>
<option
  
  value="OALDERS/HTTP-Message-6.32"
>6.32
  (OALDERS on 2021-05-18)</option>
<option
  
  value="OALDERS/HTTP-Message-6.31"
>6.31
  (OALDERS on 2021-05-11)</option>
<option
  
  value="OALDERS/HTTP-Message-6.30"
>6.30
  (OALDERS on 2021-05-10)</option>
<option
  
  value="OALDERS/HTTP-Message-6.29"
>6.29
  (OALDERS on 2021-03-06)</option>
<option
  
  value="OALDERS/HTTP-Message-6.28"
>6.28
  (OALDERS on 2021-02-19)</option>
<option
  
  value="OALDERS/HTTP-Message-6.27"
>6.27
  (OALDERS on 2021-01-05)</option>
<option
  
  value="OALDERS/HTTP-Message-6.26"
>6.26
  (OALDERS on 2020-09-10)</option>
<option
  
  value="ETHER/HTTP-Message-6.25"
>6.25
  (ETHER on 2020-06-28)</option>
<option
  
  value="OALDERS/HTTP-Message-6.24"
>6.24
  (OALDERS on 2020-05-11)</option>
<option
  
  value="OALDERS/HTTP-Message-6.23-TRIAL"
>6.23-TRIAL DEV
  (OALDERS on 2020-05-07)</option>
<option
  
  value="OALDERS/HTTP-Message-6.22"
>6.22
  (OALDERS on 2020-02-24)</option>
<option
  
  value="OALDERS/HTTP-Message-6.21-TRIAL"
>6.21-TRIAL DEV
  (OALDERS on 2020-02-19)</option>
<option
  
  value="OALDERS/HTTP-Message-6.20-TRIAL"
>6.20-TRIAL DEV
  (OALDERS on 2019-02-05)</option>
<option
  
  value="OALDERS/HTTP-Message-6.19-TRIAL"
>6.19-TRIAL DEV
  (OALDERS on 2019-01-16)</option>
<option
  
  value="OALDERS/HTTP-Message-6.18"
>6.18
  (OALDERS on 2018-06-05)</option>
<option
  
  value="OALDERS/HTTP-Message-6.16"
>6.16
  (OALDERS on 2018-03-28)</option>
<option
  
  value="OALDERS/HTTP-Message-6.15"
>6.15
  (OALDERS on 2018-03-13)</option>
<option
  
  value="OALDERS/HTTP-Message-6.14"
>6.14
  (OALDERS on 2017-12-20)</option>
<option
  
  value="OALDERS/HTTP-Message-6.13"
>6.13
  (OALDERS on 2017-06-20)</option>
<option
  
  value="OALDERS/HTTP-Message-6.12-TRIAL"
>6.12-TRIAL DEV
  (OALDERS on 2017-06-15)</option>
<option
  
  value="ETHER/HTTP-Message-6.11"
>6.11
  (ETHER on 2015-09-09)</option>
<option
  
  value="GAAS/HTTP-Message-6.06"
>6.06
  (GAAS on 2012-10-20)</option>
<optgroup label="BackPAN">'
<option
  
  value="OALDERS/HTTP-Message-6.17"
>6.17
  (OALDERS on 2018-06-05)</option>
<option
  
  value="ETHER/HTTP-Message-6.10"
>6.10
  (ETHER on 2015-07-19)</option>
<option
  
  value="ETHER/HTTP-Message-6.09"
>6.09
  (ETHER on 2015-07-19)</option>
<option
  
  value="ETHER/HTTP-Message-6.08"
>6.08
  (ETHER on 2015-07-10)</option>
<option
  
  value="ETHER/HTTP-Message-6.07"
>6.07
  (ETHER on 2015-07-09)</option>
<option
  
  value="GAAS/HTTP-Message-6.05"
>6.05
  (GAAS on 2012-10-20)</option>
<option
  
  value="GAAS/HTTP-Message-6.04"
>6.04
  (GAAS on 2012-09-30)</option>
<option
  
  value="GAAS/HTTP-Message-6.03"
>6.03
  (GAAS on 2012-02-16)</option>
<option
  
  value="GAAS/HTTP-Message-6.02"
>6.02
  (GAAS on 2011-03-20)</option>
<option
  
  value="GAAS/HTTP-Message-6.01"
>6.01
  (GAAS on 2011-03-07)</option>
<option
  
  value="GAAS/HTTP-Message-6.00"
>6.00
  (GAAS on 2011-02-27)</option>
</optgroup>
</select>
    <a data-keyboard-shortcut="g d" class="release-name" href="https://metacpan.org/dist/HTTP-Message">HTTP-Message-6.45</a>
  </div>
<span class="river-gauge-gauge">
  <svg width="24px"
       height="15px"
       version="1.1"
       xmlns="http://www.w3.org/2000/svg"
       xmlns:xlink="http://www.w3.org/1999/xlink">

    <g>
      <title>        River stage four &#10;
          • 1358 direct dependents &#10;          • 8529 total dependents
      </title>

      <rect x="0"  y="0" width="4" height="15" fill="#7ea3f2" />
      <rect x="5"  y="0" width="4" height="15" fill="#7ea3f2" />
      <rect x="10"  y="0" width="4" height="15" fill="#7ea3f2" />
      <rect x="15"  y="0" width="4" height="15" fill="#7ea3f2" />
      <rect x="20"  y="0" width="4" height="15" fill="#e4e2e2" />
    </g>
  </svg>

</span>
<div id="HTTP-Message-fav" class="logged_in">
<form action="https://metacpan.org/account/favorite/add" style="display: inline" onsubmit="return favDistribution(this)">
    <input type="hidden" name="remove" value="0">
    <input type="hidden" name="release" value="HTTP-Message-6.45">
    <input type="hidden" name="author" value="OALDERS">
    <input type="hidden" name="distribution" value="HTTP-Message">
    <button type="submit" class="favorite highlight"><span>66</span> ++</button>
</form>
</div>
<div class="logged_out">
<a href="./HTTP::Response.html" onclick="alert('Please sign in to add favorites'); return false" class="favorite highlight">
<span>66</span> ++</a>
</div>
   / <span>HTTP::Response</span>
</div>
          </div>
          <main class="content">


<nav class="toc">
  <div class="toc-header"><strong>Contents</strong></div>
<ul>
  <li><a href="./HTTP::Response.html#NAME">NAME</a></li>
  <li><a href="./HTTP::Response.html#VERSION">VERSION</a></li>
  <li><a href="./HTTP::Response.html#SYNOPSIS">SYNOPSIS</a></li>
  <li><a href="./HTTP::Response.html#DESCRIPTION">DESCRIPTION</a></li>
  <li><a href="./HTTP::Response.html#SEE-ALSO">SEE ALSO</a></li>
  <li><a href="./HTTP::Response.html#AUTHOR">AUTHOR</a></li>
  <li><a href="./HTTP::Response.html#COPYRIGHT-AND-LICENSE">COPYRIGHT AND LICENSE</a></li>
</ul></nav>
<div class="pod anchors">
<h1 id="NAME">NAME</h1>

<p>HTTP::Response - HTTP style response message</p>

<h1 id="VERSION">VERSION</h1>

<p>version 6.45</p>

<h1 id="SYNOPSIS">SYNOPSIS</h1>

<p>Response objects are returned by the request() method of the <code>LWP::UserAgent</code>:</p>

<pre><code>    # ...
    $response = $ua-&gt;request($request);
    if ($response-&gt;is_success) {
        print $response-&gt;decoded_content;
    }
    else {
        print STDERR $response-&gt;status_line, &quot;\n&quot;;
    }</code></pre>

<h1 id="DESCRIPTION">DESCRIPTION</h1>

<p>The <code>HTTP::Response</code> class encapsulates HTTP style responses. A response consists of a response line, some headers, and a content body. Note that the LWP library uses HTTP style responses even for non-HTTP protocol schemes. Instances of this class are usually created and returned by the request() method of an <code>LWP::UserAgent</code> object.</p>

<p><code>HTTP::Response</code> is a subclass of <code>HTTP::Message</code> and therefore inherits its methods. The following additional methods are available:</p>

<dl>

<dt id="$r-=-HTTP::Response-&gt;new(-$code-)"><a id="r---HTTP::Response--new---code"></a>$r = HTTP::Response-&gt;new( $code )</dt>
<dd>

</dd>
<dt id="$r-=-HTTP::Response-&gt;new(-$code,-$msg-)"><a id="r---HTTP::Response--new---code---msg"></a>$r = HTTP::Response-&gt;new( $code, $msg )</dt>
<dd>

</dd>
<dt id="$r-=-HTTP::Response-&gt;new(-$code,-$msg,-$header-)"><a id="r---HTTP::Response--new---code---msg---header"></a>$r = HTTP::Response-&gt;new( $code, $msg, $header )</dt>
<dd>

</dd>
<dt id="$r-=-HTTP::Response-&gt;new(-$code,-$msg,-$header,-$content-)"><a id="r---HTTP::Response--new---code---msg---header---content"></a>$r = HTTP::Response-&gt;new( $code, $msg, $header, $content )</dt>
<dd>

<p>Constructs a new <code>HTTP::Response</code> object describing a response with response code $code and optional message $msg. The optional $header argument should be a reference to an <code>HTTP::Headers</code> object or a plain array reference of key/value pairs. The optional $content argument should be a string of bytes. The meanings of these arguments are described below.</p>

</dd>
<dt id="$r-=-HTTP::Response-&gt;parse(-$str-)"><a id="r---HTTP::Response--parse---str"></a>$r = HTTP::Response-&gt;parse( $str )</dt>
<dd>

<p>This constructs a new response object by parsing the given string.</p>

</dd>
<dt id="$r-&gt;code"><a id="r--code"></a>$r-&gt;code</dt>
<dd>

</dd>
<dt id="$r-&gt;code(-$code-)"><a id="r--code---code"></a>$r-&gt;code( $code )</dt>
<dd>

<p>This is used to get/set the code attribute. The code is a 3 digit number that encode the overall outcome of an HTTP response. The <code>HTTP::Status</code> module provide constants that provide mnemonic names for the code attribute.</p>

</dd>
<dt id="$r-&gt;message"><a id="r--message"></a>$r-&gt;message</dt>
<dd>

</dd>
<dt id="$r-&gt;message(-$message-)"><a id="r--message---message"></a>$r-&gt;message( $message )</dt>
<dd>

<p>This is used to get/set the message attribute. The message is a short human readable single line string that explains the response code.</p>

</dd>
<dt id="$r-&gt;header(-$field-)"><a id="r--header---field"></a>$r-&gt;header( $field )</dt>
<dd>

</dd>
<dt id="$r-&gt;header(-$field-=&gt;-$value-)"><a id="r--header---field----value"></a>$r-&gt;header( $field =&gt; $value )</dt>
<dd>

<p>This is used to get/set header values and it is inherited from <code>HTTP::Headers</code> via <code>HTTP::Message</code>. See <a href="https://metacpan.org/pod/HTTP::Headers">HTTP::Headers</a> for details and other similar methods that can be used to access the headers.</p>

</dd>
<dt id="$r-&gt;content"><a id="r--content"></a>$r-&gt;content</dt>
<dd>

</dd>
<dt id="$r-&gt;content(-$bytes-)"><a id="r--content---bytes"></a>$r-&gt;content( $bytes )</dt>
<dd>

<p>This is used to get/set the raw content and it is inherited from the <code>HTTP::Message</code> base class. See <a href="https://metacpan.org/pod/HTTP::Message">HTTP::Message</a> for details and other methods that can be used to access the content.</p>

</dd>
<dt id="$r-&gt;decoded_content(-%options-)"><a id="r--decoded_content---options"></a>$r-&gt;decoded_content( %options )</dt>
<dd>

<p>This will return the content after any <code>Content-Encoding</code> and charsets have been decoded. See <a href="https://metacpan.org/pod/HTTP::Message">HTTP::Message</a> for details.</p>

</dd>
<dt id="$r-&gt;request"><a id="r--request"></a>$r-&gt;request</dt>
<dd>

</dd>
<dt id="$r-&gt;request(-$request-)"><a id="r--request---request"></a>$r-&gt;request( $request )</dt>
<dd>

<p>This is used to get/set the request attribute. The request attribute is a reference to the request that caused this response. It does not have to be the same request passed to the $ua-&gt;request() method, because there might have been redirects and authorization retries in between.</p>

</dd>
<dt id="$r-&gt;previous"><a id="r--previous"></a>$r-&gt;previous</dt>
<dd>

</dd>
<dt id="$r-&gt;previous(-$response-)"><a id="r--previous---response"></a>$r-&gt;previous( $response )</dt>
<dd>

<p>This is used to get/set the previous attribute. The previous attribute is used to link together chains of responses. You get chains of responses if the first response is redirect or unauthorized. The value is <code>undef</code> if this is the first response in a chain.</p>

<p>Note that the method $r-&gt;redirects is provided as a more convenient way to access the response chain.</p>

</dd>
<dt id="$r-&gt;status_line"><a id="r--status_line"></a>$r-&gt;status_line</dt>
<dd>

<p>Returns the string &quot;&lt;code&gt; &lt;message&gt;&quot;. If the message attribute is not set then the official name of &lt;code&gt; (see <a href="https://metacpan.org/pod/HTTP::Status">HTTP::Status</a>) is substituted.</p>

</dd>
<dt id="$r-&gt;base"><a id="r--base"></a>$r-&gt;base</dt>
<dd>

<p>Returns the base URI for this response. The return value will be a reference to a URI object.</p>

<p>The base URI is obtained from one the following sources (in priority order):</p>

<ol>

<li><p>Embedded in the document content, for instance &lt;BASE HREF=&quot;...&quot;&gt; in HTML documents.</p>

</li>
<li><p>A &quot;Content-Base:&quot; header in the response.</p>

<p>For backwards compatibility with older HTTP implementations we will also look for the &quot;Base:&quot; header.</p>

</li>
<li><p>The URI used to request this response. This might not be the original URI that was passed to $ua-&gt;request() method, because we might have received some redirect responses first.</p>

</li>
</ol>

<p>If none of these sources provide an absolute URI, undef is returned.</p>

<p><b>Note</b>: previous versions of HTTP::Response would also consider a &quot;Content-Location:&quot; header, as <a href="https://www.rfc-editor.org/rfc/rfc2616">RFC 2616</a> said it should be. But this was never widely implemented by browsers, and now <a href="https://www.rfc-editor.org/rfc/rfc7231">RFC 7231</a> says it should no longer be considered.</p>

<p>When the LWP protocol modules produce the HTTP::Response object, then any base URI embedded in the document (step 1) will already have initialized the &quot;Content-Base:&quot; header. (See <a href="./LWP::UserAgent.html#parse_head">&quot;parse_head&quot; in LWP::UserAgent</a>). This means that this method only performs the last 2 steps (the content is not always available either).</p>

</dd>
<dt id="$r-&gt;filename"><a id="r--filename"></a>$r-&gt;filename</dt>
<dd>

<p>Returns a filename for this response. Note that doing sanity checks on the returned filename (eg. removing characters that cannot be used on the target filesystem where the filename would be used, and laundering it for security purposes) are the caller&#39;s responsibility; the only related thing done by this method is that it makes a simple attempt to return a plain filename with no preceding path segments.</p>

<p>The filename is obtained from one the following sources (in priority order):</p>

<ol>

<li><p>A &quot;Content-Disposition:&quot; header in the response. Proper decoding of RFC 2047 encoded filenames requires the <code>MIME::QuotedPrint</code> (for &quot;Q&quot; encoding), <code>MIME::Base64</code> (for &quot;B&quot; encoding), and <code>Encode</code> modules.</p>

</li>
<li><p>A &quot;Content-Location:&quot; header in the response.</p>

</li>
<li><p>The URI used to request this response. This might not be the original URI that was passed to $ua-&gt;request() method, because we might have received some redirect responses first.</p>

</li>
</ol>

<p>If a filename cannot be derived from any of these sources, undef is returned.</p>

</dd>
<dt id="$r-&gt;as_string"><a id="r--as_string"></a>$r-&gt;as_string</dt>
<dd>

</dd>
<dt id="$r-&gt;as_string(-$eol-)"><a id="r--as_string---eol"></a>$r-&gt;as_string( $eol )</dt>
<dd>

<p>Returns a textual representation of the response.</p>

</dd>
<dt id="$r-&gt;is_info"><a id="r--is_info"></a>$r-&gt;is_info</dt>
<dd>

</dd>
<dt id="$r-&gt;is_success"><a id="r--is_success"></a>$r-&gt;is_success</dt>
<dd>

</dd>
<dt id="$r-&gt;is_redirect"><a id="r--is_redirect"></a>$r-&gt;is_redirect</dt>
<dd>

</dd>
<dt id="$r-&gt;is_error"><a id="r--is_error"></a>$r-&gt;is_error</dt>
<dd>

</dd>
<dt id="$r-&gt;is_client_error"><a id="r--is_client_error"></a>$r-&gt;is_client_error</dt>
<dd>

</dd>
<dt id="$r-&gt;is_server_error"><a id="r--is_server_error"></a>$r-&gt;is_server_error</dt>
<dd>

<p>These methods indicate if the response was informational, successful, a redirection, or an error. See <a href="https://metacpan.org/pod/HTTP::Status">HTTP::Status</a> for the meaning of these.</p>

</dd>
<dt id="$r-&gt;error_as_HTML"><a id="r--error_as_HTML"></a>$r-&gt;error_as_HTML</dt>
<dd>

<p>Returns a string containing a complete HTML document indicating what error occurred. This method should only be called when $r-&gt;is_error is TRUE.</p>

</dd>
<dt id="$r-&gt;redirects"><a id="r--redirects"></a>$r-&gt;redirects</dt>
<dd>

<p>Returns the list of redirect responses that lead up to this response by following the $r-&gt;previous chain. The list order is oldest first.</p>

<p>In scalar context return the number of redirect responses leading up to this one.</p>

</dd>
<dt id="$r-&gt;current_age"><a id="r--current_age"></a>$r-&gt;current_age</dt>
<dd>

<p>Calculates the &quot;current age&quot; of the response as specified by RFC 2616 section 13.2.3. The age of a response is the time since it was sent by the origin server. The returned value is a number representing the age in seconds.</p>

</dd>
<dt id="$r-&gt;freshness_lifetime(-%opt-)"><a id="r--freshness_lifetime---opt"></a>$r-&gt;freshness_lifetime( %opt )</dt>
<dd>

<p>Calculates the &quot;freshness lifetime&quot; of the response as specified by RFC 2616 section 13.2.4. The &quot;freshness lifetime&quot; is the length of time between the generation of a response and its expiration time. The returned value is the number of seconds until expiry.</p>

<p>If the response does not contain an &quot;Expires&quot; or a &quot;Cache-Control&quot; header, then this function will apply some simple heuristic based on the &quot;Last-Modified&quot; header to determine a suitable lifetime. The following options might be passed to control the heuristics:</p>

<dl>

<dt id="heuristic_expiry-=&gt;-$bool"><a id="heuristic_expiry"></a><a id="heuristic_expiry----bool"></a>heuristic_expiry =&gt; $bool</dt>
<dd>

<p>If passed as a FALSE value, don&#39;t apply heuristics and just return <code>undef</code> when &quot;Expires&quot; or &quot;Cache-Control&quot; is lacking.</p>

</dd>
<dt id="h_lastmod_fraction-=&gt;-$num"><a id="h_lastmod_fraction"></a><a id="h_lastmod_fraction----num"></a>h_lastmod_fraction =&gt; $num</dt>
<dd>

<p>This number represent the fraction of the difference since the &quot;Last-Modified&quot; timestamp to make the expiry time. The default is <code>0.10</code>, the suggested typical setting of 10% in RFC 2616.</p>

</dd>
<dt id="h_min-=&gt;-$sec"><a id="h_min"></a><a id="h_min----sec"></a>h_min =&gt; $sec</dt>
<dd>

<p>This is the lower limit of the heuristic expiry age to use. The default is <code>60</code> (1 minute).</p>

</dd>
<dt id="h_max-=&gt;-$sec"><a id="h_max"></a><a id="h_max----sec"></a>h_max =&gt; $sec</dt>
<dd>

<p>This is the upper limit of the heuristic expiry age to use. The default is <code>86400</code> (24 hours).</p>

</dd>
<dt id="h_default-=&gt;-$sec"><a id="h_default"></a><a id="h_default----sec"></a>h_default =&gt; $sec</dt>
<dd>

<p>This is the expiry age to use when nothing else applies. The default is <code>3600</code> (1 hour) or &quot;h_min&quot; if greater.</p>

</dd>
</dl>

</dd>
<dt id="$r-&gt;is_fresh(-%opt-)"><a id="r--is_fresh---opt"></a>$r-&gt;is_fresh( %opt )</dt>
<dd>

<p>Returns TRUE if the response is fresh, based on the values of freshness_lifetime() and current_age(). If the response is no longer fresh, then it has to be re-fetched or re-validated by the origin server.</p>

<p>Options might be passed to control expiry heuristics, see the description of freshness_lifetime().</p>

</dd>
<dt id="$r-&gt;fresh_until(-%opt-)"><a id="r--fresh_until---opt"></a>$r-&gt;fresh_until( %opt )</dt>
<dd>

<p>Returns the time (seconds since epoch) when this entity is no longer fresh.</p>

<p>Options might be passed to control expiry heuristics, see the description of freshness_lifetime().</p>

</dd>
</dl>

<h1 id="SEE-ALSO"><a id="SEE"></a>SEE ALSO</h1>

<p><a href="https://metacpan.org/pod/HTTP::Headers">HTTP::Headers</a>, <a href="https://metacpan.org/pod/HTTP::Message">HTTP::Message</a>, <a href="https://metacpan.org/pod/HTTP::Status">HTTP::Status</a>, <a href="./HTTP::Request.html">HTTP::Request</a></p>

<h1 id="AUTHOR">AUTHOR</h1>

<p>Gisle Aas &lt;gisle@activestate.com&gt;</p>

<h1 id="COPYRIGHT-AND-LICENSE"><a id="COPYRIGHT"></a>COPYRIGHT AND LICENSE</h1>

<p>This software is copyright (c) 1994 by Gisle Aas.</p>

<p>This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.</p></div>

<div id="metacpan_install-instructions-dialog" class="modal fade">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title">Module Install Instructions</h4>
      </div>
      <div class="modal-body">
        <p>To install HTTP::Message, copy and paste the appropriate command in to your terminal.</p>
        <p><a href="https://metacpan.org/dist/App-cpanminus/view/bin/cpanm">cpanm</a></p>
        <pre><code>cpanm HTTP::Message</code></pre>
        <p><a href="https://metacpan.org/pod/CPAN">CPAN shell</a></p>
        <pre><code>perl -MCPAN -e shell
install HTTP::Message</code></pre>
        <p>For more information on module installation, please visit <a href="https://www.cpan.org/modules/INSTALL.html">the detailed CPAN module installation guide</a>.</p>
      </div>
      <div class="modal-footer">
        <a href="./HTTP::Response.html#" data-dismiss="modal" class="btn">Close</a>
      </div>
    </div>
  </div>
</div>
          </main>
          <div class="content-pagination">
          </div>
        </div>
        <footer class="footer">
          <div class="footer-container">
            <div class="footer-social">
              <div class="footer-link footer-logo">
                <a href="https://metacpan.org/">
                  <img src="https://metacpan.org/static/images/metacpan-logo.svg" alt="MetaCPAN" />
                </a>
              </div>
              <a class="footer-social-link" href="https://github.com/metacpan">
                <i class="fab fa-github-square"></i>
              </a>
              <a class="footer-social-link" href="https://fosstodon.org/@metacpan">
                <i class="fab fa-mastodon"></i>
              </a>
            </div>
            <div class="footer-links">
              <div class="footer-link">
                  <a href="https://metacpan.org/about">About</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/about/sponsors">Sponsor</a>
              </div>
              <div class="footer-link">
                  <a href="https://grep.metacpan.org">grep::cpan</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/recent">Recent</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/about/faq">FAQ</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/tools">Tools</a>
              </div>
              <div class="footer-link">
                  <a href="https://fastapi.metacpan.org/">API</a>
              </div>
              <div class="footer-link">
                  <a href="https://www.perl.org/">Perl.org</a>
              </div>
            </div>
            <div class="footer-sponsors">
              <a class="footer-sponsor-link" target="_blank" href="https://www.bytemark.co.uk/" rel="noopener">
                <img class="footer-sponsor-bytemark" src="https://metacpan.org/static/images/sponsors/bytemark_logo.svg" alt="Bytemark logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://www.liquidweb.com/" rel="noopener">
                <img class="footer-sponsor-liquidweb" src="https://metacpan.org/static/images/sponsors/liquidweb_logo.png" alt="liquidweb logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://deriv.com/careers/" rel="noopener">
                <img class="footer-sponsor-deriv" src="https://metacpan.org/static/images/sponsors/deriv.svg" alt="Deriv logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://geocode.xyz" rel="noopener">
                <img class="footer-sponsor-geocode" src="https://metacpan.org/static/images/sponsors/geocodelogo.svg" alt="Geocode logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://www.fastly.com/" rel="noopener">
                <img class="footer-sponsor-fastly" src="https://metacpan.org/static/images/sponsors/fastly_logo.svg" alt="Fastly logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://opencagedata.com" rel="noopener">
                <img class="footer-sponsor-opencage" src="https://metacpan.org/static/images/sponsors/open-cage.svg" alt="OpenCage logo">
              </a>
            </div>
          </div>
        </footer>
        <div class="modal fade" tabindex="-1" role="dialog" id="metacpan_keyboard-shortcuts">
          <div class="modal-dialog">
            <div class="modal-content">
              <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h4 class="modal-title">Keyboard Shortcuts</h4>
              </div>
              <div class="modal-body row">
<div class="col-md-6">
  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>Global</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td class="keys">
          <kbd>s</kbd>
        </td>
        <td>Focus search bar</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>?</kbd>
        </td>
        <td>Bring up this help dialog</td>
      </tr>
    </tbody>
  </table>

  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>GitHub</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>p</kbd>
        </td>
        <td>Go to pull requests</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>i</kbd>
        </td>
        <td>go to github issues (only if github is preferred repository)</td>
      </tr>
    </tbody>
  </table>
</div>

<div class="col-md-6">
  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>POD</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>a</kbd>
        </td>
        <td>Go to author</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>c</kbd>
        </td>
        <td>Go to changes</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>i</kbd>
        </td>
        <td>Go to issues</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>d</kbd>
        </td>
        <td>Go to dist</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>r</kbd>
        </td>
        <td>Go to repository/SCM</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>s</kbd>
        </td>
        <td>Go to source</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>b</kbd>
        </td>
        <td>Go to file browse</td>
      </tr>

    </tbody>
  </table>
</div>

<div class="col-md-12">
  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>Search terms</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><em>module:</em> (e.g. <a href="https://metacpan.org/search?q=module%3APlugin">module:Plugin</a>)</td>
      </tr>
      <tr>
        <td><em>distribution:</em> (e.g. <a href="https://metacpan.org/search?q=distribution%3ADancer+auth">distribution:Dancer auth</a>)</td>
      </tr>
      <tr>
        <td><em>author:</em> (e.g. <a href="https://metacpan.org/search?q=author%3ASONGMU+Redis">author:SONGMU Redis</a>)</td>
      </tr>
      <tr>
        <td><em>version:</em> (e.g. <a href="https://metacpan.org/search?q=version%3A1.00">version:1.00</a>)</td>
      </tr>
    </tbody>
  </table>
</div>
              </div>
              <div class="modal-footer"></div>
            </div>
          </div>
        </div>
    </body>
</html>
